<style type="text/css">
form ul li
{
    list-style:none;
}
form ul li label
{
    display:block;
    width:250px;
}
.button
{
    border:1px solid #FFF;
}
</style>
<div id="login">
	<!-- login -->
	<div class="title">
		<h5><?php echo $this->__('Forgot login (') . App::Config()->siteInfo('site_title');?>)</h5>
		<div class="corner tl"></div>
		<div class="corner tr"></div>
	</div>
	
	<div class="inner">
		<?php

			echo App::Load("Helper/Javascript")->validation_map(
															Array(
																	'_errBg'=>ERROR_BACKGROUND,
																	'_dflBg'=>'#CFCFCF',
																	'_autoSubmit'=>'false',
																	'_errToolTips'=>'false',
																	'_errorMark' => 'inline'
																)
														);
			echo App::Load("Helper/Javascript")->ajax_submit(array("form_name"=>"#flogin_form","debug"=>"true","auto_hide"=>"true","message_element"=>".fmessage"));
		?>
		<form method="post" class="app_form app_validation" id="flogin_form" action="<?php echo $this->baseurl("/member/passwordreset/{$restKey}"); ?>">
		<div class="form">
			<!-- fields -->
			<div class="fields">
				<div class="field" >
					<div class="label">
						<label for="new_password"  >New Password</label>
					</div>
					<div class="input">
						<input type="password" id="new_password" name="data[Forgotlogin][new_password]" size="40" value="" class="focus check_notempty" id="flogin_name" />
					</div>
				</div>
                <div class="field" >
					<div class="label">
						<label for="re_new_password"  >Confirm Password</label>
					</div>
					<div class="input">
						<input type="password" id="re_new_password" name="data[Forgotlogin][re_new_password]]" size="40" value="" class="focus check_notempty" id="flogin_name" />
					</div>
				</div>
				<div class="buttons" style="margin-top:30px">
                    <div class="floatleft">
						<a href="<?php echo $this->baseurl('/'); ?>" >View Website?</a> | 
                        <a href="<?php echo $this->baseurl('/admin'); ?>" >Login?</a>
                    </div>
					<input type="submit" name="data[Forgotlogin][button]" value="Change" />
				</div>
			</div>
			<!-- end fields -->
		</div>
		</form>		
	</div>		
</div>
 <div class="auth-copy-right" style="text-align:center;margin-top:50px;color:#003973"><?php echo $this->__("appRain Content Management Framework. Copyright &copy; appRain");?></div>
